home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Capturing stdout from a forked process
- Date: Wed, 10 Jan 96 01:12:52 GMT
- Organization: none
- Message-ID: <821236372snz@genesis.demon.co.uk>
- References: <1996Jan9.162406.24172@hrbicf>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <1996Jan9.162406.24172@hrbicf>
- m1w@icf.hrb.com "Michael E. Warren" writes:
-
- >
- >Can anyone tell me how to have one process spawn another using fork and exec
- >and capture that processes stdout? I'd like to use some standard Unix commands
- >and examine their results in C program.
-
- You will need to use Unix specific library calls to do this - the C language
- itself can't help you. Try comp.unix.programmer.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-